/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package negocio;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author Francisco
 */
public class EFServicio {
    
    private static EntityManagerFactory emf;

    public static EntityManagerFactory getEmf() {
        if(emf == null){
            emf=Persistence.createEntityManagerFactory("PRPPU");
        }
        return emf;
    }
}
